A declarative approach towards ensuring auto-completion and auto-update of HTML form fields

نویسنده

  • Sunil Kothari
چکیده

Form field relationships, when modelled appropriately at the client-side, can greatly enhance the usability of new and existing forms by providing for auto-completion and auto-update of form fields without making a round-trip to the server. Traditionally, field relationships are handled exclusively at the server-side, in which case no associated JavaScript mechanisms are required, or at client-side by means of highly customised JavaScript code. Both approaches have associated pitfalls. Server-side handling of form field relationships makes such an approach server and network dependent whereas, client side handling of relationships exposes a programmer to a full programming language. Further, JavaScript has an operational form and makes a programmer think about the order in which the relationships should be used to auto-update and auto-complete. Additionally, consistent behaviour of relationships is not guaranteed as different browsers handle JavaScript differently. We suggest an approach that allows declarative specification of form field relationships. Our approach serves the niche where the form is independently created or perhaps automatically generated by a tool and where the field relationships are added at a later stage or in some cases, separately specified. The relationships are specified in a high-level domain-specific language that exposes a programmer to only the relevant details. This helps in modular development of forms and makes forms specifications easier to read, write and maintain. The non-uniform behaviour of JavaScript is handled by translating high-level specifications to a subset of JavaScript that all browsers implement. The auto-update and auto-completion of form fields is accomplished by incorporating a rule-based mechanism that satisfies relationships through a fixed-point process. Our language is expressive enough to model a large subset of relationships that can occur in HTML forms. We illustrate the entire methodology by a number of examples.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Web Form Page in Mobile Devices - Optimization of Layout with a Simple Genetic Algorithm

Filling out a form on mobile devices is generally harder than on other terminals, due to the reduced keyboard and display size, entailing a higher fatigue and limiting the user experience. A solution to this problem can be based on reducing the input effort required to the user by auto-completion, and re-organizing the fields in order to provide first those with a higher prediction power. In th...

متن کامل

Counteracting the Negative Effect of Form Auto-completion on the Privacy Calculus

When filling out web forms, people typically do not want to submit every piece of requested information to every website. Instead, they selectively disclose information after weighing the potential benefits and risks of disclosure: a process called “privacy calculus”. Giving users control over what to enter is a prerequisite for this selective disclosure behavior. Exercising this control by man...

متن کامل

Impact of User Characteristics on Attitudes Towards Automatic Mobile Application Updates

To keep mobile devices secure, experts recommend turning on auto-updates for applications, but recent research has suggested that users often avoid auto-updating because updates can lead to undesirable consequences such as user interface changes or compatibility issues. Understanding whether there are commonalities amongst users who avoid auto-updates can help us create better mobile applicatio...

متن کامل

Auto-Ethnography: “Employee Behavior Towards Supervisors and Managers” Or “Interaction as the Ideal Behavior”

Before managing the staff in dealing with supervisors and managers, it is necessary to recognize types of behavior they exhibit. This has not been previously analyzed through concise research. Using Analytic Auto-ethnography can help us to provide a model based on two indicators of courage and adaptability, which can be low, medium or high. Four main types of employee behaviors towards supervis...

متن کامل

Satisfaction towards Customer Loyalty in Auto-Mobile Industry of Pakistan

This study investigates the factors affecting the brand loyalty of the customers of Auto-mobile industry in region of Pakistan with the use of ECSI model. A well-organized structured questionnaire was distributed among the customers of Auto-mobile industry. The questionnaire was based on 5 Point likert-type scale. Results show that the customer expectations have a direct positive impact on perc...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006